20230322
[shlib.git] / testing / 2.scripttest_testing.Testing for scripttest.unit / 2.scripttest_general1.Testing paramter set 1.dir / 1.scripttest_param_h.sh
blobd524a52f0eff9cd7aae6655c5ca3ae11358f2d0f
1 #!/bin/bash
3 ############################################################
4 # Copyright (C) 2022- Free Software Foundation, Inc.
5 # This configure script is free software; the Free Software
6 # Foundation gives unlimited permission to copy, distribute
7 # and modify it.
9 . shlibinc
10 include stdio.shlib
11 include dbgout.shlib
14 init_dbglogout 2 testing 20000
16 dbgout "$0\n"
18 dbgout_cmd echo XXX
20 cd scripts
23 # 测试程序的helper信息输出
25 dbgout "================================\n"
26 dbgout "simple helper\n"
27 dbgout "================================\n"
28 scripttest -h
29 dbgout "================================\n"
30 dbgout "detail helper\n"
31 dbgout "================================\n"
32 scripttest --help
33 dbgout "================================\n"
34 dbgout "helper with debug info\n"
35 dbgout "================================\n"
36 scripttest -h --debug
37 dbgout "================================\n"